package com.haima.ziliao.domain;

import java.io.Serializable;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.haima.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.haima.common.core.domain.BaseEntity;

/**
 * 群信息对象 p_quninfo
 * 
 * @author hima
 * @date 2024-11-08
 */
public class PQuninfo implements Serializable
{
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /** ID */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String tname;

    /** 群名称 */
    @Excel(name = "群名称")
    private String name;

    /** 群描述 */
    @Excel(name = "群描述")
    private String miaoshu;

    /** 群头像 */
    @Excel(name = "群头像")
    private String pic;

    /** 二维码 */
    @Excel(name = "二维码")
    private String qrcode;
    @Excel(name = "类型")
    private String type;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTname(String tname) 
    {
        this.tname = tname;
    }

    public String getTname() 
    {
        return tname;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setMiaoshu(String miaoshu) 
    {
        this.miaoshu = miaoshu;
    }

    public String getMiaoshu() 
    {
        return miaoshu;
    }
    public void setPic(String pic) 
    {
        this.pic = pic;
    }

    public String getPic() 
    {
        return pic;
    }
    public void setQrcode(String qrcode) 
    {
        this.qrcode = qrcode;
    }

    public String getQrcode() 
    {
        return qrcode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tname", getTname())
            .append("name", getName())
            .append("miaoshu", getMiaoshu())
            .append("pic", getPic())
            .append("qrcode", getQrcode())
            .append("type", getType())
            .toString();
    }
}
